package org.zfm.car.service;

import org.zfm.car.doc.CarDoc;
import org.zfm.car.domain.Car;
import org.zfm.base.service.IBaseService;
import org.zfm.car.query.CarSearchQuery;
import org.zfm.util.data.PageData;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zara
 * @since 2022-11-03
 */
public interface ICarService extends IBaseService<Car> {

    int onSale(List<Long> ids);

    int offSale(List<Long> ids);

    PageData<CarDoc> list(CarSearchQuery carSearchQuery);
}
